import "@babel/polyfill"
import Vue from "vue"

import "./styles/common/common.css"
// import './assets/common/css/theme.scss'
// import 'element-ui/lib/theme-chalk/index.css';
import "./assets/common/font/iconfont/iconfont.css"

// import "ant-design-vue/dist/antd.less";
import "ant-design-vue/dist/antd.css"
import Antd from "ant-design-vue"

import $http from "@/api/index.js"
import { $message, $notification } from "./utils/msg-box.js"
import { format } from "@/utils/format"

import App from "./App.vue"

import store from "./store"

import router from "./router"
import Svg from "./components/Svg"



Vue.prototype.$store = store


Vue.config.productionTip = false
Vue.use(Antd)

Vue.prototype.$http = $http

Vue.prototype.$message = $message
Vue.prototype.$notification = $notification
// Vue.prototype.$msgAlert = msgAlert;

Vue.prototype.$format = format
// 注册到全局组件
Vue.component("b-svg", Svg)

const vm = new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")

